﻿<Window x:Class="ControlAccessUser.Presentation.SearchUser"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="SearchUser" Height="439" Width="673">
    <Grid>
        <TextBox Height="23" HorizontalAlignment="Left" Margin="24,40,0,0" Name="txbxUserId" VerticalAlignment="Top" Width="81" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="111,40,0,0" Name="txbxUserFirstName" VerticalAlignment="Top" Width="102" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="218,40,0,0" Name="txbxUserLastName" VerticalAlignment="Top" Width="116" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="343,40,0,0" Name="txbxUserName" VerticalAlignment="Top" Width="117" />
        <Button Content="SEARCH" Height="38" HorizontalAlignment="Left" Margin="476,34,0,0" Name="btnSearch" VerticalAlignment="Top" Width="148" Click="btnSearch_Click" />
        <Button Content="CLOSE" Height="36" HorizontalAlignment="Left" Margin="476,289,0,0" Name="btnClose" VerticalAlignment="Top" Width="148" Click="btnClose_Click" />
        <Label Content="USER ID" Height="28" HorizontalAlignment="Left" Margin="24,12,0,0" Name="label1" VerticalAlignment="Top" Width="115" />
        <Label Content="FIRSTNAME" Height="28" HorizontalAlignment="Left" Margin="111,12,0,0" Name="label2" VerticalAlignment="Top" Width="115" />
        <Label Content="LASTNAME" Height="28" HorizontalAlignment="Left" Margin="219,12,0,0" Name="label3" VerticalAlignment="Top" Width="115" />
        <Label Content="USER NAME" Height="28" HorizontalAlignment="Left" Margin="343,12,0,0" Name="label4" VerticalAlignment="Top" Width="115" />
        <DataGrid AutoGenerateColumns="False" Height="256" HorizontalAlignment="Left" Margin="24,69,0,0" Name="dataGridUsers" VerticalAlignment="Top" Width="434" MouseDoubleClick="dataGridUsers_MouseDoubleClick" CanUserAddRows="False" SelectionChanged="dataGridUsers_SelectionChanged">
            <DataGrid.Columns>
                <DataGridTextColumn Header="Id de Usuario" Binding="{Binding UserId}"    />
                <DataGridTextColumn Header="Nombre" Binding="{Binding UserFirstName}"    />
                <DataGridTextColumn Header="Apellido" Binding="{Binding UserLastName}"    />
                <DataGridTextColumn Header="Nombre de Usuario" Binding="{Binding UserName}"    />
            </DataGrid.Columns>
            
        </DataGrid>
        <Button Content="LOGOUT USER SELECTED" Height="37" HorizontalAlignment="Left" Margin="476,110,0,0" Name="btnLogoutUserSelected" VerticalAlignment="Top" Width="148" Click="btnLogoutUserSelected_Click" />
        <Label Content="" Height="28" HorizontalAlignment="Left" Margin="24,331,0,0" Name="lblSystemMessage" VerticalAlignment="Top" Width="434" />
    </Grid>
</Window>
